cmake_minimum_required (VERSION 2.6)
project(T1CreatingAWindow)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules")

find_package(PkgConfig REQUIRED)
pkg_search_module(GLFW REQUIRED glfw3)

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

set(T1_EXE t1)
set(T1_SOURCES main.cpp)

include_directories(${GLFW_INCLUDE_DIRS})

add_executable(${T1_EXE} ${T1_SOURCES})

target_link_libraries(${T1_EXE} ${GLFW_LIBRARIES})
